Q3RationalPoint3D_Distance
You can use theQ3RationalPoint3D_Distance
function to determine the distance between two three-dimensional rational points.
float Q3RationalPoint3D_Distance ( const TQ3RationalPoint3D *p1, const TQ3RationalPoint3D *p2);
p1
- A rational three-dimensional point.
p2
- A rational three-dimensional point.
DESCRIPTION
TheQ3RationalPoint3D_Distance
function returns, as its function result, the absolute value of the distance between pointsp1
andp2
. The distance returned is a two-dimensional distance.